/*统一样式*/

* {
    margin: 0;
    padding: 0;
}

body {
    color: #999;
    font: 14px/1 Microsoft YaHei, Arial, Helvetica, sans-serif;
    background: url(https://static.acgxt.com/images/blogBackground.webp);
}

a {
    text-decoration: none;
    color: #19BCE7;
}

li {
    list-style: none;
}

/*公共类*/

.w1200 {
    width: 1200px;
    margin: 0 auto;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/*头部整体header*/

#header {
    background: url(../img/header_bg.png) no-repeat center center;
}

/*header_top*/

#header_top {
    background: rgba(255, 255, 255, 0.2);
}

#header_top .nav {
    float: left;
}

#header_top .login {
    float: right;
}

#header_top ul li {
    float: left;
}

#header_top ul li a {
    display: block;
    height: 42px;
    padding: 0 25px;
    line-height: 42px;
    text-align: center;
    color: #fff;
}

#header_top ul li a:hover {
    color: #F2E352;
    background: rgba(255, 255, 255, 0.1);
}

#header_top li:nth-child(1) a {
    border-top: 3px solid #A8E957;
}

#header_top li:nth-child(2) a {
    border-top: 3px solid #8DCFFB;
}

#header_top li:nth-child(3) a {
    border-top: 3px solid #FFCB96;
}

#header_top li:nth-child(4) a {
    border-top: 3px solid #FFC2D8;
}

#header_top li:nth-child(5) a {
    border-top: 3px solid #86F5F0;
}

#header_top li:nth-child(6) a {
    border-top: 3px solid #E4B6FF;
}

#header_top li:nth-child(7) a {
    border-top: 3px solid #91ECFA;
}

#header_top li:nth-child(8) a {
    border-top: 3px solid #FFCB96;
}

/*header_center*/

#header_center {
    margin: 20px auto;
}

#header_center .logo {
    float: left;
}

#header_center .logo img {
    width: 220px;
    height: 65px;
}

#header_center .search {
    float: right;
    width: 210px;
    margin-right: 50px;
    position: relative;
}

#header_center .search input {
    width: 160px;
    height: 30px;
    padding: 0 10px;
    border: none;
    border-radius: 3px;
    outline: 0;
}

#header_center .search button {
    width: 40px;
    height: 30px;
    border: none;
    border-radius: 3px;
    background: #fff url(../img/search1.png) no-repeat center center;
    outline: 0;
    position: absolute;
    right: 0;
}

#header_center .search button:hover {
    background: #fff url(../img/search2.png) no-repeat center center;
}

/*header_bottom*/

#header_bottom {
    background: rgba(255, 255, 255, 0.2);
}

#header_bottom .menu li {
    float: left;
}

#header_bottom .menu li a {
    display: block;
    padding: 0 20px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
}

#header_bottom .menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/*头部整体header结束*/

/*主页内容index_main*/

#index_main {
    margin: 10px auto;
}

#main_header {
    height: 280px;
}

/*左侧*/

#main_header .banner {
    float: left;
    width: 500px;
    height: 280px;
    margin-right: 20px;
    position: relative;
    background-color: darkcyan;
    overflow: hidden;
}

/*右侧*/

#main_header .container {
    float: right;
}

#main_header .container ul {
    width: 680px;
    height: 280px;
}

#main_header .container ul li {
    float: left;
    background: pink;
    margin-right: 25px;
    margin-bottom: 20px;
    box-shadow: 0 0 5px #b3b3b3;
    position: relative;
}

#main_header .container ul li:hover {
    box-shadow: 0 0 5px #0fd0ee;
}

#main_header .container ul li.last {
    margin-right: 0;
}

#main_header .container ul li a {
    display: block;
    width: 210px;
    height: 130px;
}

#main_header .container ul li a img {
    width: 100%;
    height: 100%;
}

#main_header .container ul li a p {
    width: 100%;
    font-size: 12px;
    color: #868686;
    line-height: 30px;
    font-weight: bold;
    text-indent: 5px;
    background: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    bottom: 0;
}

#main_header .container ul li a p:hover {
    color: #0A95D1;
}

/*main_content*/

#main_content {
    margin: 20px 0 10px 0;
}

/*content左侧*/

#main_content .main_left {
    float: left;
}

#main_content .main_left .list {
    width: 800px;
    height: 160px;
    background: #fff;
    position: relative;
    margin-bottom: 20px;
    padding: 10px 0;
    box-shadow: 0 0 5px #b3b3b3;
}

#main_content .main_left .list:hover {
    box-shadow: 0 0 5px #0fd0ee;
}

#main_content .main_left .list .category {
    width: 60px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    background: rgba(255, 0, 0, 0.4);
    position: absolute;
    top: 0;
    left: 0;
}

#main_content .main_left .list .avatar {
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    right: 4px;
}

#main_content .main_left .list .avatar:hover {
    box-shadow: 0 0 5px #39ff4a;
}

#main_content .main_left .list .avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

#main_content .main_left .list .preview {
    margin: 15px 10px;
    float: left;
    width: 220px;
    height: 130px;
    overflow: hidden;
}

#main_content .main_left .list .preview img {
    width: 100%;
    height: 100%;
}

#main_content .main_left .list .preview img:hover {
    transform: scale(1.3);
    transition: all 0.5s ease 0s;
    -webkit-transform: scale(1.3);
    -webkit-transform: all 0.5s ease 0s;
}

#main_content .main_left .list .list_container {
    overflow: hidden;
    margin: 10px 0;
    padding-right: 50px;
}

#main_content .main_left .list .list_container .list_title {
    height: 28px;
    line-height: 28px;
}

#main_content .main_left .list .list_container .list_title a:hover {
    color: #E2B135;
}

#main_content .main_left .list .list_container p {
    height: 80px;
    text-indent: 2em;
    line-height: 20px;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

#main_content .main_left .list .list_container .info a,
#main_content .main_left .list .list_container .info span,
#main_content .main_left .list .list_container .info i {
    font-size: 12px;
    line-height: 12px;
    color: #999;
}

#main_content .main_left .list .list_container .info a,
#main_content .main_left .list .list_container .info span {
    margin-right: 8px;
}

#main_content .main_left .list .list_container .info .more {
    float: right;
}

#main_content .main_left .list .list_container .info a:hover {
    color: #0BA7E7;
}

#main_content .main_left .list .list_container .info a:hover i {
    color: #0BA7E7;
}

#main_content .main_left .page {
    float: right;
    margin: 10px 0 15px 0;
}

#main_content .main_left .page span,
#main_content .main_left .page a {
    color: #848684;
    border: 1px solid #D8D8D8;
    padding: 5px 10px;
    margin-left: 10px;
    font-size: 12px;
}

#main_content .main_left .page .live {
    color: #fff;
    background: #00BDF6;
    border: 1px solid #00BDF6;
}

#main_content .main_left .page a:hover {
    color: #fff;
    background: #00BDF6;
    border: 1px solid #00BDF6;
}

/*content右侧*/

#main_content .main_right {
    float: right;
    width: 350px;
    height: 500px;
}

#main_content .main_right h2 {
    font-size: 14px;
    color: #5C5A5A;
    border-left: 2px solid #0FCAE8;
    line-height: 19px;
    padding-left: 10px;
    margin-bottom: 10px;
}

#main_content .main_right .hotArticles li {
    margin-bottom: 10px;
}

#main_content .main_right .hotArticles li:hover {
    background: #fff;
    box-shadow: 0 0 5px #ccc;
}

#main_content .main_right .hotArticles li a {
    display: block;
    width: 318px;
    height: 66px;
    padding: 10px 16px;
}

#main_content .main_right .hotArticles img {
    float: left;
    width: 100px;
    height: 60px;
    margin-top: 3px;
    margin-right: 5px;
}

#main_content .main_right .hotArticles .data {
    overflow: hidden;
}

#main_content .main_right .hotArticles .data p {
    color: #444;
    height: 48px;
    font-size: 12px;
    text-indent: 2em;
}

#main_content .main_right .hotArticles .data p:hover {
    color: #00AEE7;
}

#main_content .main_right .hotArticles .data span,
#main_content .main_right .hotArticles .data span i {
    color: #666;
    font-size: 12px;
}

#main_content .main_right .assorted li {
    float: left;
    width: 165px;
    height: 100px;
    box-shadow: 0 0 5px #ccc;
    position: relative;
    margin-right: 10px;
    margin-bottom: 15px;
}

#main_content .main_right .assorted img {
    width: 165px;
    height: 100px;
}

#main_content .main_right .assorted p {
    width: 100%;
    line-height: 24px;
    font-size: 12px;
    font-weight: bold;
    text-indent: 0.5em;
    color: #666;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
}

#main_content .main_right .friendLink ul {
    overflow: hidden;
    padding: 3px 0 0 3px;
}

#main_content .main_right .friendLink ul li {
    float: left;
    margin: 0 10px 5px 0;
    box-shadow: 0 0 3px #ccc;
}

#main_content .main_right .friendLink ul li:nth-child(3),
#main_content .main_right .friendLink ul li:nth-child(6),
#main_content .main_right .friendLink ul li:nth-child(9),
#main_content .main_right .friendLink ul li:nth-child(12),
#main_content .main_right .friendLink ul li:nth-child(15) {
    margin-right: 0;
}

#main_content .main_right .friendLink ul li a {
    display: block;
    width: 105px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    color: #808080;
}

#main_content .main_right .friendLink ul li a:hover {
    color: #fff;
    background: #F4C8CC;
}

/*尾页*/

#footer {
    background: #111;
    font-size: 12px;
    padding: 10px 0 20px 0;
}

#footer .left {
    float: left;
}

#footer .left a,
#footer .left span {
    color: #666;
    line-height: 24px;
}

#footer .left a:hover {
    color: #F5C947;
}

#footer .right img {
    float: right;
    width: 50px;
    height: 50px;
    opacity: 0.7;
}

#footer .right img:hover {
    opacity: 1;
}

.flexslider {
    float: left;
    width: 500px;
    height: 280px;
    margin-right: 20px;
    position: relative;
    background-color: darkcyan;
    overflow: hidden;
    background: url(../img/loading.gif) 50% no-repeat;
}

.slides {
    position: relative;
    z-index: 1;
}

.slides li {
    height: 400px;
}

.flex-control-nav {
    position: absolute;
    bottom: 10px;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.flex-control-nav li {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 5px;
    *display: inline;
    zoom: 1;
}

.flex-control-nav a {
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 40px;
    overflow: hidden;
    background: url(../img/dot.png) right 0 no-repeat;
    cursor: pointer;
}

.flex-control-nav .flex-active {
    background-position: 0 0;
}

.flex-direction-nav {
    position: absolute;
    z-index: 3;
    width: 100%;
    top: 45%;
}

.flex-direction-nav li a {
    display: block;
    width: 50px;
    height: 50px;
    overflow: hidden;
    cursor: pointer;
    position: absolute;
}

.flex-direction-nav li a.flex-prev {
    left: 40px;
    background: url(../img/prev.png) center center no-repeat;
}

.flex-direction-nav li a.flex-next {
    right: 40px;
    background: url(../img/next.png) center center no-repeat;
}